package com.party.service.apply;

import com.party.common.Page;
import com.party.model.Apply;
import com.party.model.Curriculum;

import java.util.List;

/**
 * Created by 011926 on 2014/9/23.
 */
public interface ApplyService
{
    public int add(Apply apply);

    public int delete(Integer id);

    public Apply getById(Integer id);


    /**
     * 分页获取
     * @param pageSize
     * @param pageNumber
     * @return
     */
    public Page getList(Apply apply, int pageSize, int pageNumber);

    public int edit(Apply apply);

    public List<Apply> getAll();

}
